<html>
<head><meta charset="utf-8"><title>partial impl · t-lang · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/index.html">t-lang</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/partial.20impl.html">partial impl</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="212630666"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/partial%20impl/near/212630666" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/partial.20impl.html#212630666">(Oct 07 2020 at 23:09)</a>:</h4>
<p>If we wanted to swap out <code>default impl</code> with <code>partial impl</code>, would that require a blanket keyword reservation or can it be contextual?</p>



<a name="212630730"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/partial%20impl/near/212630730" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/partial.20impl.html#212630730">(Oct 07 2020 at 23:10)</a>:</h4>
<p>context: second half of <a href="#narrow/stream/122651-general/topic/OR.20traits">this thread</a></p>



<a name="212632977"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/partial%20impl/near/212632977" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/partial.20impl.html#212632977">(Oct 07 2020 at 23:40)</a>:</h4>
<p>default is already contextual</p>



<a name="212633413"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/partial%20impl/near/212633413" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> scottmcm <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/partial.20impl.html#212633413">(Oct 07 2020 at 23:47)</a>:</h4>
<p><span class="user-mention" data-user-id="116883">@tmandry</span> Generally the answer is that if it's part of item syntax it can be contextual but if it's part of expressions it can't.</p>



<a name="212639586"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/partial%20impl/near/212639586" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/partial.20impl.html#212639586">(Oct 08 2020 at 01:38)</a>:</h4>
<blockquote>
<p>default is already contextual</p>
</blockquote>
<p>oh, duh <span aria-label="grinning face with smiling eyes" class="emoji emoji-1f601" role="img" title="grinning face with smiling eyes">:grinning_face_with_smiling_eyes:</span></p>



<a name="212639685"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/213817-t-lang/topic/partial%20impl/near/212639685" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/213817-t-lang/topic/partial.20impl.html#212639685">(Oct 08 2020 at 01:40)</a>:</h4>
<blockquote>
<p><span class="user-mention silent" data-user-id="116883">tmandry</span> Generally the answer is that if it's part of item syntax it can be contextual but if it's part of expressions it can't.</p>
</blockquote>
<p>good to know, thanks!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>